<?php



namespace App\Services\Company\Providers;

use App\Services\Company\Interfaces\CompanyBalanceServiceInterface;
use App\Services\Company\Interfaces\CompanyServiceInterface;
use App\Services\Company\Services\CompanyBalanceService;
use App\Services\Company\Interfaces\UserServiceInterface;
use App\Services\Company\Services\UserService;
use App\Services\Company\Services\CompanyRoleService;
use App\Services\Company\Interfaces\CompanyRoleServiceInterface;
use App\Services\Company\Services\CompanyService;
use Illuminate\Support\ServiceProvider;
use App\Services\Company\Interfaces\CompanyOrderServiceInterface;
use App\Services\Company\Services\CompanyOrderService;


class CompanyServiceRegisterProvider extends ServiceProvider
{
    public function register()
    {
        $this->app->instance(CompanyBalanceServiceInterface::class, $this->app->make(CompanyBalanceService::class));
        $this->app->instance(CompanyServiceInterface::class, $this->app->make(CompanyService::class));
        $this->app->instance(UserServiceInterface::class, $this->app->make(UserService::class));
        $this->app->instance(CompanyOrderServiceInterface::class, $this->app->make(CompanyOrderService::class));
        $this->app->instance(CompanyRoleServiceInterface::class, $this->app->make(CompanyRoleService::class));


    }
}
